;;; init-cpp.el -- init cpp
;;; Commentary:
;;; Code:

(use-package eglot
  :hook ((c-mode . eglot-ensure)
         (c++-mode . eglot-ensure))
  :config
  (add-to-list 'eglot-server-programs '((c++-mode c-mode) "clangd")))


(provide 'init-cpp)
;;; init-cpp.el ends here
